import React from 'react';

class GoodsList extends React.Component{
    state = {

    }
    render() {
        return (
            <div className='goods'>
                {
                    this.props.list.map((item,index)=>{
                        return (
                            <div key={index}>
                              <img src={item.image} alt="" />
                              <div>{item.store_name}</div>    
                            </div>
                        )
                    })
                }
            </div>
        )
    }
}

export default GoodsList